const Client = require("mysql-pro");

var config = {
    host: "47.75.76.213",
    user: "root",
    password: "Yiteng2018",
    port: 3306,
    database: "yixin_zh"
}

const mysql = new Client({
    mysql: {
        host: config.host,
        port: config.port,
        database: config.database,
        user: config.user,
        password: config.password,
        multipleStatements: true
    }
});

module.exports = mysql
